package cn.wolfcode.shop.cloud.msg;

import cn.wolfcode.shop.cloud.common.CodeMsg;

public class SeckillGoodCodeMsg  extends CodeMsg {
    public SeckillGoodCodeMsg(int code, String msg) {
        super(code, msg);
    }

    public SeckillGoodCodeMsg() {
    }
    public static final SeckillGoodCodeMsg REMOTE_GOOD_ERROR=new SeckillGoodCodeMsg(50009,"秒杀服务远程调用商品异常");
    public static final SeckillGoodCodeMsg NOT_LOGIN=new SeckillGoodCodeMsg(50010,"请先登录");
    public static final SeckillGoodCodeMsg VIOLATION_OPERATION =new SeckillGoodCodeMsg(50011,"违规操作");
    public static final SeckillGoodCodeMsg NOT_DOUBLE_ORDER =new SeckillGoodCodeMsg(50012,"不能重复下单");
    public static final SeckillGoodCodeMsg NO_STOCKCOUNT =new SeckillGoodCodeMsg(50013,"库存不足");
    public static final SeckillGoodCodeMsg CREATE_ORDER_FAIL =new SeckillGoodCodeMsg(50014,"异步下单失败");
    public static final SeckillGoodCodeMsg ORDER_PATH_ERROR =new SeckillGoodCodeMsg(50015,"请求资源有错误");
    public static final SeckillGoodCodeMsg NO_VERIFYCODE =new SeckillGoodCodeMsg(50017,"验证码不能为空");
    public static final SeckillGoodCodeMsg VERIFYCODE_ERROR =new SeckillGoodCodeMsg(50016,"验证码错误");
}
